glarea: Better error handling
authorEmmanuele Bassi <ebassi@gnome.org>
Tue, 17 Feb 2015 10:21:41 +0000 (10:21 +0000)
committerEmmanuele Bassi <ebassi@gnome.org>
Tue, 17 Feb 2015 10:21:41 +0000 (10:21 +0000)
commit0a4879b9ac5b3ab7766f91dcbb8f518a265b3a6b
tree2e8d123daef8b50218a2f4d00e11500c068044ad
parentda559c08f93d6832f4b9d3199cf5a22ac7f035f9
glarea: Better error handling

Currently, GtkGLArea will leak GError instances set during the context
creation, if an error is set.

If any error is set post-context creation, it should be displayed even
in the case a GL context exists; for instance, we can use the error
display facility for shader compilation errors.
gtk/gtkglarea.c